# SPDX-License-Identifier: MIT

create_mock_lib(
  NAME
    mock_eventprocessor
  SOURCES
    mock_eventfiltermanager.c
    mock_eventfilternode.c
    mock_eventfilternodevector.c
    mock_eventprocessor.c
    mock_eventqueue.c
    mock_eventqueuemanager.c
    mock_eventqueuevector.c
  INCLUDES
    $<TARGET_PROPERTY:eventprocessor_static,INCLUDE_DIRECTORIES>
    ${CMAKE_CURRENT_SOURCE_DIR}
  LIBRARIES
    eventprocessor_static_weak
    cmocka_extensions::cmocka_extensions
  WRAP_FLAG
    MOCK_EVENTPROCESSOR_FUNC_LINKER_WRAPPING
  WRAPS
    elosEventFilterManagerDeleteMembers
    elosEventFilterManagerInitialize
    elosEventFilterManagerNodeCreate
    elosEventFilterManagerNodeRemove
    elosEventFilterManagerNodeRemoveByEventQueueId
    elosEventFilterManagerProcess
    elosEventFilterNodeDeleteMembers
    elosEventFilterNodeInitialize
    elosEventFilterNodeProcess
    elosEventFilterNodePush
    elosEventFilterNodeVectorDeleteMembers
    elosEventFilterNodeVectorInitialize
    elosEventFilterNodeVectorProcess
    elosEventFilterNodeVectorPushByParam
    elosEventFilterNodeVectorRemoveById
    elosEventProcessorDeleteMembers
    elosEventProcessorFilterNodeCreate
    elosEventProcessorFilterNodeCreateWithQueue
    elosEventProcessorFilterNodeRemove
    elosEventProcessorInitialize
    elosEventProcessorPublish
    elosEventProcessorQueueCreate
    elosEventProcessorQueueRead
    elosEventProcessorQueueRemove
    elosEventQueueDelete
    elosEventQueueDeleteMembers
    elosEventQueueInitialize
    elosEventQueueManagerDeleteMembers
    elosEventQueueManagerEntryDelete
    elosEventQueueManagerEntryGet
    elosEventQueueManagerEntryGetLimit
    elosEventQueueManagerEntryNew
    elosEventQueueManagerEntryPush
    elosEventQueueManagerEntryRead
    elosEventQueueManagerEntrySetLimit
    elosEventQueueManagerInitialize
    elosEventQueueNew
    elosEventQueuePush
    elosEventQueueRead
    elosEventQueueVectorPushByParam
)
